Arrangement for producing head related transfer function filters

ABSTRACT

When three-dimensional audio is produced by using headphones, particular HRTF-filters are used to modify sound for the left and right channels of the headphone. As the morphology of every ear is different, it is beneficial to have HRTF-filters particularly designed for the user of headphones. Such filters may be produced by deriving ear geometry from a plurality of images taken with an ordinary camera, detecting necessary features from images and fitting said features to a model that has been produced from accurately scanned ears comprising representative values for different sizes and shapes. Taken images are sent to a server (52) that performs the necessary computations and submits the data further or produces the requested filter.

This patent application is a continuation of co-pending application Ser. No. 17/073,212, filed Oct. 16, 2020, which is a continuation under 35 U.S.C. § 120 of U.S. patent application Ser. No. 16/084,707, filed on Sep. 13, 2018, now issued as U.S. Pat. No. 10,839,545, which is a national phase entry of International Application No. PCT/FI2017/050156, filed on Mar. 9, 2017, which claims priority to Finnish Patent Application No. 20165211, filed on Mar. 15, 2016, and the entire contents of those patent applications are hereby incorporated by reference.

DESCRIPTION OF BACKGROUND

Audio systems with multiple audio channels are commonly known and used by entertainment industry, for example in movies or computer games. These systems are often called Surround Sound systems or three-dimensional sound systems. The purpose of such systems is to provide more realistic sound that arrives from multiple directions. The most conventional approach to implement such audio systems is to provide a plurality of audio speakers into a room or a space, such as a movie theater. The main purpose of such systems is to allow sounds to arrive from different directions. Thus, the person watching a movie will get more realistic feeling when the sound related to a certain action will arrive from the supposed direction of the action. In earlier systems typically five different full bandwidth and one low-frequency audio channels were used, however, nowadays it is typical to use more sometimes even in home installations. Hence, in addition to the direction it is possible to use different channels for different sound frequency ranges. Typically low frequency sounds are produced by different type of speakers that are often called subwoofers.

In addition to the number of audio sources there are also other reasons having an effect on the sound and how realistic it is. The locations of audio sources are essential and the geometry of the room, furniture and similar have an effect on the sound. For example, in a big movie theater people in the front row may experience the sound differently than people in the backrow. In a home installation other furniture, windows, curtains and similar have an effect on the sound. Furthermore, the orientation and physical character of the person watching the movie will have an effect how he or she experiences the sound. Finally, the geometry of the outer ear (pinna) has a significant effect on the sound that arrives from sound source to person's eardrum.

Headphones are often preferred instead of speaker systems because they are portable and do not disturb other people. Conventionally the headphones were not able to produce three-dimensional sound but were limited to two channels, left and right respectively and the perceived sound is localized inside listener's head. More recently headphones with three-dimensional sound are introduce. The three-dimensional experience is produced by manipulating sounds in headphone's two audio channels so that they resemble directional sounds arriving in the ear-canal. The three-dimensional sound experience is possible by taking into account the effect of pinna, head and torso to the sound that enters to the ear-canal. These filters are often called HRTF-filters (Head-Related Transfer Function). These filters are used to provide an effect that is similar to how a human torso, head ear filters three dimensional sounds.

When the geometry of ears of a person is known a personal HRTF-filter can be produced so that the sound experienced through headphones is as realistic as possible. In conventional simulation based approach this geometry is produced by using a three-dimensional scanning device that produces three-dimensional model of at least portion of visible parts of the ear. This requires, however, a costly three-dimensional scanning device that can produce an accurate three-dimensional geometric model of an ear. It is possible to produce two filters so that both ears have their own filters respectively as the ears may be of different geometry. When the three-dimensional geometry is known a person skilled in the art can use various mathematical methods for producing an HRTF-filter from the acquired geometry. Even if in the above only geometry of an ear is discussed, a person skilled in the art understands that geometry of head and/or torso of the scanned person may be included in the filter production.

FIGS. 1, 2 a and 2 b are referred for better understanding of the framework. FIG. 1 is an illustration of an ear. The figure is referred only for purpose of disclosing the anatomy of an ear. FIGS. 2 a and 2 b are two models of an ear made by using a three-dimensional scanning device or by a camera system involving a plurality of cameras so that ear is imaged from multiple directions at the same time so that three-dimensional coordinates can be computed.

In order to improve the quality of three-dimensional audio systems it would be beneficial to produce individual HRTF-filters for each person using headphones. Thus, there is a need for an arrangement for providing the geometry needed for computing the filter.

SUMMARY

When three-dimensional audio is produced by using headphones particular HRTF-filters are used the sound for left and right channels of the headphone. As the morphology of every ear is different it is beneficial to have HRTF-filters particularly designed for the user of headphones. Such filters may be produced deriving ear geometry from a plurality of images taken with an ordinary camera, detecting necessary features from images and fitting said features to a model that has been produced from accurately scanned ears comprising representative values for different sizes and shapes. Taken images are sent to a server that performs the necessary computations and submits the data further or produces the requested filter.

In an embodiment a method for producing geometrical data for head related transfer function filters is disclosed. The method comprises receiving a at least one image frames comprising an image of a pinna, detecting points of significance in said pinna from said images frames, producing a point cloud from said points detected from the at least one image frame, registering said point cloud with a model database, wherein said model database comprises data derived from models of pinna including geometrical data related to said pinna and producing geometrical data for head related transfer function filter by processing said model database with said point cloud so that geometrical data corresponding with said point cloud is created by modifying geometrical data in said model database.

In an embodiment the model database is a pre-computed using so-called principle component analysis basis. In a further embodiment producing the geometrical data comprises morphing said model database. In another embodiment the plurality of image frames is a video sequence. In a further embodiment the registering comprises at least one of the following: translation, rotation and scaling.

In an embodiment the method disclosed above is used for producing a head related transfer function filter. In a further embodiment the method disclosed above is implemented as a computer software executed on a computing device.

In a further embodiment a three-dimensional camera is used instead of traditional camera. When a three-dimensional camera is used it may be sufficient to have only one three-dimensional image for deriving the point cloud mentioned above, however, it is possible to combine two or more three-dimensional images for producing the point cloud. Then, the point cloud is processed similarly as in case of two-dimensional images.

In an embodiment an apparatus is disclosed. The apparatus comprises at least one processor configured to execute computer programs, at least one memory configured to store computer programs and related data, and at least one data communication interface configured to communicate with external data communication networks. The apparatus is configured to execute a method as described above.

The benefits of described embodiments include possibility to produce individual HRTF-filters for users of headphones. Furthermore, a benefit of the present embodiments include possibility to produce own filters for each ear. This will improve how the user hears the produced audio and will have more realistic experience, for example, when watching a movie with three-dimensional sound.

A further benefit of the described embodiments include the possibility to provide individual filters using only a conventional camera, for example a mobile phone. The mobile device is used for acquiring image frames which are then transmitted to a service that can produce the necessary computations. This facilitates production of filters with technically simple tools, such as a mobile phone, instead of conventional requirement of a three-dimensional scanning arrangements. Thus, it is technically possible to use low cost devices for producing such filters.

A further benefit of the described 5 embodiments is the possibility to produce filters at home. This facilitates headphones with individual filters that can be ordered from an internet store. The person interested may order a desired headphone set from an internet store or buy from general market and produce the filter at home by imaging own head. This will facilitate easier sales of technically unique headphones.

A further benefit of the described embodiments is the possibility to produce filters that can be changed easily if a headphone set is used by a plurality of persons. This will facilitate better audio experience for all of the users.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are included to provide a further understanding of an arrangement for producing head related transfer function filters and constitute a part of this specification, illustrate embodiments and together with the description help to explain the principles of the arrangement for producing head related transfer function filters. In the drawings:

FIG. 1 is an illustration of a pinna and the parts of it,

FIGS. 2 a and 2 b are examples of a three-dimensional model of a pinnae,

FIG. 3 is a flow chart of an embodiment,

FIG. 4 is a flow chart of an embodiment,

FIG. 5 is a block diagram of an example implementation.

DETAILED DESCRIPTION

Reference will now be made in detail to the embodiments, examples of which are illustrated in the accompanying drawings. In the following description expression “pinna” is used to denote the visible part of an ear, which can be image by using a conventional camera that may be arranged to a mobile device.

In FIG. 3 a flow chart of a method for building a pre-computed PCA basis that is used in a method for producing geometry needed for producing a HRTF-filter. The PCA basis is an example of model database or morphable model. As shown in the flow chart firstly a plurality of samples are scanned, step 30. This scanning is done by using prior art means for scanning as explained in the background of the invention. The number of samples may be, for example, one hundred but it may be increased later and there is no upper limit. Also smaller numbers may be used, however, very small number will reduce the quality of the derived geometrical data. Thus, when additional persons are scanned accurately later geometries of their pinnae can be included in the sample set.

From the scanning result accurate three-dimensional pinnae models are constructed, step 31. In the embodiment surface models are constructed of three-dimensional vertices that form triangles. Examples of such surface models are shown in FIGS. 2 a and 2 b . Models for different pinnae may have different number of vertices and triangles at this stage. According to the conventional approaches these models or the information used to construct these models would directly be used for producing the filters.

The produced models are used as a training dataset for producing the pre-computed PCA basis that is used in an arrangement for producing head related transfer function filters, step 32. In the production principal component analysis (PCA) is used. PCA is a statistical method wherein in significant components are reduced from a set of data comprising also insignificant data so that the significant components can be presented without losing important information.

For the pre-computed PCA basis the acquired pinna models are processed in order to find physical correspondences between pinna models so that after processing they consist of equal number of vertices and the vertices have physical point-to-point correspondence. Thus, the same vertex number corresponds to same physical location in all processed models. The physical correspondence can be found by using an optic flow algorithm or similar.

Lastly a PCA model is constructed by using a PCA decomposition and using the most significant components of the PCA as geometric basis vectors. Thus, acquired geometries have been reprocessed into a model that provides representative values for different pinnae and which can be used in an arrangement for producing head related transfer function filters as will be described below.

In FIG. 4 a flow chart of a method for arrangement for producing head related transfer function filters using a mobile device as an imaging device is disclosed. The mobile device mentioned above may be any portable camera equipment that is able to execute computer programs and able to transmit acquired images over a network connection to a server. Typically this device is a mobile phone or a tablet computer that normally comprise a camera and are able to execute computer programs. The mobile device comprises a software that is configured to perform a portion of the method disclosed in FIG. 4 .

The method is initiated by starting a computer program for acquiring data required for producing a geometry of a human pinna that are used in producing head related transfer function filters. The program is configured to acquire a plurality of image frames or a sequence of video image frames, step 40. The program is configured to instruct the person imaging his or her own head so that at least one ear is imaged from sufficiently different angles. The program may include a feature that is configured to determine the sufficient number of image frames, however, it is possible that the program sends the acquired image frames immediately for further processing and receives an acknowledgement message if acquired image frames are sufficient. In the method of FIG. 4 the determination is done at the mobile device and the acquired images are then sent to the server, step 41.

The server receives a plurality of image frames or a sequence of video, step 42. The received images are processed by determining points that represent certain physical locations in the imaged pinna. For example, one or more points may represent the shape of helix and one or more points may represent tragus. The number of points determined has no upper limit and the number may be increased when more accurate models are desired. Even if a person making the measurements may decide the points measured it is considered that Concha cymba and Concha cavum (see FIG. 1 .) are very important ones to measure. Furthermore, as mentioned above, the model needs not to be limited to pinna but the whole head may be analyzed. A point cloud comprising the plurality of points mentioned above may be achieved, for example, by using a structure-from-motion algorithm, step 43.

At the next step the point cloud is registered with the PCA-model, step 44. The registering means here aligning and is achieved by translating, rotating and scaling the point cloud. Thus, the size and orientation of the point cloud is changed so that it will match with the PCA-model and the points that correspond to a certain physical location in the imaged pinna will have corresponding points in the PCA-model. At this stage it is obviously normal that the points do not exactly match with the PCA-model as every pinna has own characteristic.

After the model has been registered with the PCA model the point cloud is projected to the pre-computed PCA basis, step 45. This can be done, by solving a minimization problem to obtain weight for the pre-computed PCA basis functions. In an alternative embodiment steps 44 and 45 can be combined so that the registration and morphing of the PCA model are done simultaneously. Thus, the method described above derives geometry of the imaged pinna by producing the geometrical values from the PCA model that comprises geometrical values for sample pinnae. The produced set of geometrical values may be unique as the produced set is a combination of different geometries that match best the imaged pinna.

When the geometry or geometrical data values have been produce the HRTF-filter can be produced as it is produced in case of three-dimensional scanned pinna, step 46. The actual production of the HRTF-filter can be done as a service at the same service producing the geometrical data but it is also possible to submit the geometrical data to the customer or another service, which may be provided, for example, by the headphone manufacturer. An example of a method for generating HRTF-filter is described in “Rapid generation of personalized HRTFs Proceedings of AES Conference: 55th International Conference: Spatial Audio, Helsinki, 2014” by T Huttunen, A Vanne, S Harder, R Reinhold Paulsen, S King, L Perry-Smith and L Karkkainen. Also other methods may be used.

The method described above with referral to 35 FIG. 4 is able to produce individual and unique geometrical values and thus unique HRTF-filters for each person instead of using an average HRTF-filter or a HRTF-filter selected from a set of pre-computed HRTF-filters. However, in some cases, where two or more pinnae are almost identical the produced filter is not necessarily unique. Such may happen, for example, in case of identical twins. In a normal case produced filters, however, are unique.

FIG. 5 illustrates an arrangement for producing head related transfer function filters. In FIG. 5 a mobile device 50, such as mobile phone comprising a camera, is used for imaging a head 51 of a person who needs a HRTF-filter. Mobile device 50 comprises imaging software that is configured to instruct the user of the mobile device to take enough images so that the pinna being imaged is sufficiently covered. This can be done, for example, by acquiring a video sequence wherein the software instructs to move the mobile device around the head so that the pinna is seen from all possible directions.

The mobile device uses conventional mobile data communication link for transmitting acquired image frames to a server 52. The server 52 may be a physical remote computer, virtual server, cloud service or any other service capable of running computer programs. In the present embodiment it is a server comprising at least one processor 53, at least one memory 54 and at least one network interface 55. The at least one processor 53 is configured to execute computer programs and perform tasks instructed by the programs. The at least one memory 54 is configured to store computer programs and store data. The at least one network interface 55 is configured to communicate with external computing devices, such as a database 56.

The server 52 is configured to receive the 35 acquired image frames using at least one network interface 55 and process them as explained above. For example, when the received image frames are in form of a video sequence some image frames may be extracted from the video sequence. Then the desired physical locations of pinna are detected by using at least one processor 53 from each of the image frames and the point cloud is formed by combining information extracted from a plurality of image frames. A person skilled in the art understands that not all desired locations need to be shown in every image frame but depending on the imaging direction some of the desired physical locations may not be visible. The point cloud is then stored into at least one memory 54.

The point cloud is processor by at least one processor 53. The point cloud is first registered so that the dimensions and orientation correspond with the PCA model that is stored into the at least one memory 54 or database 56. The at least one processor is configured to compute the geometry of a pinna being processed by using the received point cloud and the existing model comprising accurate geometrical data so that the existing model is modified, for example, by morphing so that a geometry corresponding with the received point cloud is created. As a result a geometry corresponding the imaged pinna can be created by using inaccurate image data instead of accurate three-dimensional scanners.

The server 52 may be configured to compute a final HRTF-filter and transmit it to the user so that the user may install it to the audio system. If the filter is not produced at this stage the created geometric data is transmitted to the user or to a service for creating HRTF-filters.

In the arrangement of FIG. 5 a three-dimensional scanning unit 57 is shown. It is used for providing samples to the database from which the PCA model is constructed. The model may be refined when new models are received. This, however, does not have any effect on a user who is creating the filter by using a mobile device. Furthermore, the three-dimensional scanning device needs not to be physically connected but the data needed can be transmitted separately without continuous connection.

The above mentioned method may be implemented as computer software which is executed in a computing device able to communicate with a mobile device. When the software is executed in a computing device it is configured to perform the above described inventive method. The software is embodied on a computer readable medium so that it can be provided to the computing a device, such as the server 52 of FIG. 5 .

The HRTF-filter discussed above may be placed to different locations. For example, the filter may be used in a computer or an amplifier used for producing sound. The filtered sound is then transmitted to the headphones. It is also possible to implement headphones that include a filter, however, a person skilled in the art understands that this cannot be implemented with conventional two-channel stereo headphones because it is necessary to transmit more sound information to the component including the filter than it is possible by using ordinary stereo wires. Such headphones typically are connected by USB-connector or similar.

In the examples discussed above a two-dimensional conventional camera has been described as they are commonly used. Instead of the two-dimensional camera a three-dimensional camera is used instead of conventional two-dimensional camera. When a three-dimensional camera is used it may be sufficient to have only one three-dimensional image for deriving the point cloud discussed above, however, it is possible to combine two or more three-dimensional images for producing the point cloud. Then, the point cloud is processed similarly as in case of two-dimensional images. Furthermore, it is possible to use both two-dimensional and three-dimensional image frames when determining the point cloud.

In the examples discussed above the point cloud is produced by a server or computer that is other than the imaging unit, such as a mobile phone. It is expected that the computing power of mobile devices will increase in the future. Thus, it is possible that some steps of the method described above will be executed in the mobile device that is configured to acquire image frames needed for further computations. For example, it is possible that the mobile device produces the point cloud and transmits for further processing. It is further possible that the mobile device includes software components that are needed for further processing so that the complete geometrical data is computed in the mobile device and then sent further for producing the HRTF-filter. In another embodiment it is possible that even the filter is produced in the mobile device.

As stated above, the components of the exemplary embodiments can include computer readable medium or memories for holding instructions programmed according to the teachings of the present inventions and for holding data structures, tables, records, and/or other data described herein. Computer readable medium can include any suitable medium that participates in providing instructions to a processor for execution. Common forms of computer-readable media can include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, any other suitable magnetic medium, a CD-ROM, CD±R, CD±RW, DVD, DVD-RAM, DVD±RW, DVD±R, HD DVD, HD DVD-R, HD DVD-RW, HD DVD-RAM, Blu-ray Disc, any other suitable optical medium, a RAM, a PROM, an EPROM, a FLASH-EPROM, any other suitable memory chip or cartridge, or any other suitable medium from which a computer can read.

It is obvious to a person skilled in the art that with the advancement of technology, the basic idea of an arrangement for producing head related transfer function filters may be implemented in various ways. The arrangement for producing head related transfer function filters and its embodiments are thus not limited to the examples described above; instead they may vary within the scope of the claims. 

1. (canceled)
 2. A method performed by a programmed processor of a mobile device, the method comprising: capturing, using a camera of the mobile device, at least one image of a pinna; determining at least one geometrical value of the pinna as output from a statistical model using input based on the at least one image, the statistical model is trained on a dataset including a plurality of pinna geometries, wherein the statistical model determines the at least one geometrical value by reducing a set of data points representative of the pinna; and determining, based on the at least one geometrical value, a head-related transfer function (HRTF) filter.
 3. The method of claim 2, wherein the mobile device is configured to instruct a user to move the mobile device around a head of the user to capture the at least one image.
 4. The method of claim 2, wherein the at least one image comprises a plurality of images captured using the camera, wherein the mobile device is configured to instruct a user to move the mobile device such that the plurality of images are captured at a plurality of different angles to cover the pinna.
 5. The method of claim 2, wherein the at least one geometrical value corresponds to at least one point of significance in the pinna.
 6. The method of claim 5, wherein the statistical model is trained on a dataset that have the at least one point of significance.
 7. The method of claim 2, wherein determining the at least one geometrical value comprises solving a minimization problem for basis functions of the statistical model.
 8. The method of claim 2, wherein the statistical model includes a pre-computed principle component analysis basis.
 9. A non-transitory machine-readable medium storing instructions that, when executed by one or more processors of a mobile device, cause the mobile device to: capture, using a camera of the mobile device, at least one image of a pinna; determine at least one geometrical value of the pinna as output from a statistical model using input based on the at least one image, the statistical model is trained on a dataset including a plurality of pinna geometries, wherein the statistical model determines the at least one geometrical value by reducing a set of data points representative of the pinna; and determine, based on the at least one geometrical value, a head-related transfer function (HRTF) filter.
 10. The non-transitory machine-readable medium of claim 9, wherein the mobile device is configured to instruct a user to move the mobile device around a head of the user to capture the at least one image.
 11. The non-transitory machine-readable medium of claim 9, wherein the at least one image comprises a plurality of images captured using the camera, wherein the mobile device is configured to instruct a user to move the mobile device such that the plurality of images are captured at a plurality of different angles to cover the pinna.
 12. The non-transitory machine-readable medium of claim 9, wherein the at least one geometrical value corresponds to at least one point of significance in the pinna.
 13. The non-transitory machine-readable medium of claim 12, wherein the statistical model is trained on a dataset that have the at least one point of significance.
 14. The non-transitory machine-readable medium of claim 9, wherein the instructions to determine the at least one geometrical value comprises instructions to solve a minimization problem for basis functions of the statistical model.
 15. The non-transitory machine-readable medium of claim 9, wherein the statistical model includes a pre-computed principle component analysis basis.
 16. A mobile device comprising: a camera; a processor; and memory having stored therein instructions which when executed by the processor causes the mobile device to: capture, using the camera, at least one image of a pinna; determine at least one geometrical value of the pinna as output from a statistical model using input based on the at least one image, the statistical model is trained on a dataset including a plurality of pinna geometries, wherein the statistical model determines the at least one geometrical value by reducing a set of data points representative of the pinna; and determine, based on the at least one geometrical value, a head-related transfer function (HRTF) filter.
 17. The mobile device of claim 16, wherein the mobile device is configured to instruct a user to move the mobile device around a head of the user to capture the at least one image.
 18. The mobile device of claim 16, wherein the at least one image comprises a plurality of images captured using the camera, wherein the mobile device is configured to instruct a user to move the mobile device such that the plurality of images are captured at a plurality of different angles to cover the pinna.
 19. The mobile device of claim 16, wherein the at least one geometrical value corresponds to at least one point of significance in the pinna.
 20. The mobile device of claim 19, wherein the statistical model is trained on a dataset that have the at least one point of significance.
 21. The mobile device of claim 16, wherein determining the at least one geometrical value comprises solving a minimization problem for basis functions of the statistical model. 